/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.jSkyRoom.producer.builder.major;

import ru.jSkyRoom.interfaces.major.Enchantment;
import ru.jSkyRoom.interfaces.major.Major;
import ru.jSkyRoom.interfaces.additional.HasEnchantment;
import ru.rakev.producer.DwindleProducer;
import ru.rakev.producer.Producer;
import ru.rakev.producer.builder.ProducerBuilder;

/**
 *
 * @author Rakev
 */
public class EnchantmentProducerBuilder<F, C extends Enchantment> extends MajorProducerBuilder<F, C> {

    public static <T extends Enchantment> EnchantmentProducerBuilder<T, T> create(){
        return new EnchantmentProducerBuilder<>(new DwindleProducer<T>());
    }
    
    public EnchantmentProducerBuilder(Producer<F, C> producer) {
        super(producer);
    }
}
